package com.songlanyun.modules.order.model.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.songlanyun.common.drive.ValueObject;
import com.songlanyun.common.enums.GoodsConstant;
import com.songlanyun.common.enums.OrderConstant;
import com.songlanyun.common.utils.custom.DateCustomUtils;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 销售系统中的子订单
 *
 * @author lubo
 * @email sunlightcs@gmail.com
 * @date 2020-11-16 14:14:42
 */
@Data
public class ChildOrderSlimVO implements ValueObject {


    /**
     * 商品标题
     */
    @Excel(name = "商品标题", orderNum = "1",  width = 20D)
    private String goodsTitle;

    /**
     * 规格集的文本显示值
     */
    @Excel(name = "规格", orderNum = "2",  width = 15D)
    private String skuSetName;

    /**
     * 原来的实际价格（会员打折或秒杀的实际价格或活动价）
     */
    @Excel(name = "原实际价格", orderNum = "3", width = 8)
    private BigDecimal originalRealPrice;

    /**
     * 最终实际价格（可以在原实际价格上面改价）
     * 下单时 realPrice = originalRealPrice
     * 改价后 realPrice < originalRealPrice
     */
    @Excel(name = "实际价格", orderNum = "4", width = 8)
    private BigDecimal realPrice;

    /**
     * 购买商品规格数量
     */
    @Excel(name = "购买数量", orderNum = "5", width = 8)
    private Integer number;


    /**
     * 单位
     */
    private String unit;

    /**
     * 原商品总价
     */
    @Excel(name = "原商品总价", orderNum = "6" ,width =8D)
    private BigDecimal originalGoodsAmount;

    /**
     * 总优惠多少钱
     */
    @Excel(name = "总优惠", orderNum = "7" ,width =8D)
    private BigDecimal totalReduced;

    /**
     * 总实际价格 实际商品总费用
     */
    @Excel(name = "总实际价格", orderNum = "8" ,width =8D)
    private BigDecimal totalRealPrice;


}
